<%@page import="com.daowen.bll.*"%>
<%@page import="com.daowen.entity.*,com.daowen.dal.*"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<%@ include file="law.jsp"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改信息</title>
<link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/index.css" type="text/css"></link>

<link rel="stylesheet" href="<%=SystemParam.getSiteRoot() %>/e/css/box.all.css" type="text/css"></link>

<script src="<%=SystemParam.getSiteRoot()%>/webui/jquery/jquery-1.8.3.min.js"
	type="text/javascript"></script>
 <link href="<%=SystemParam.getSiteRoot() %>/webui/artDialog/skins/default.css" rel="stylesheet" type="text/css" />
    <script  type="text/javascript" src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.validate.min.js"></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.validateex.js" ></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/jquery.metadata.js" ></script>
    <script type="text/javascript"  src="<%=SystemParam.getSiteRoot() %>/webui/jquery/messages_cn.js" ></script>
  
    <script type="text/javascript">
     
          $(function(){
          
        	  $.metadata.setType("attr","validate");
              $("#huiyuanForm").validate(); 
          });
          
          
    
    </script>



</head>
<body>

	<jsp:include page="head.jsp"></jsp:include>

	<div class="wrap">
		<div class="cover-title">
			当前位置：<a href="<%=SystemParam.getSiteRoot() %>/e/index.jsp">首页</a> &gt;&gt;实名认证
		</div>
	</div>


	<div class="fn-clear"></div>

	<div class="wrap">

		<div class="main">

			<jsp:include page="menu.jsp"></jsp:include>
			<div class="main-content">
               <%if(tem_huiyuan!=null&&tem_huiyuan.getStatus()==1){ %>
				<form name="huiyuanform" method="post"
					action="<%=SystemParam.getSiteRoot()%>/admin/huiyuanmanager.do"
					id="huiyuanForm">
					<table class="grid" cellspacing="1" width="100%">
						<input type="hidden" name="id" value="${requestScope.huiyuan.id}" />
						<input type="hidden" name="actiontype" value="shiming" />
						<input type="hidden" name="forwardurl" value="/e/huiyuan/shimingres.jsp" />
						
						
						<tr>
							<td align="right">姓名:</td>
							<td><input name="name"
								value="${requestScope.huiyuan.name}" class="input-txt"
								type="text" id="txtName" /></td>
						</tr>
						
								
						
						<tr>
							<td align="right">身份证号:</td>
							<td>
							
							<input name="idcardno" value="${requestScope.huiyuan.idcardno}" validate="{required:true,idcardno:true,messages:{required:'请输入身份证号',idcardno:'请输入正确的身份号码'}}" 
								class="input-txt" type="text" id="txtIdcardno" /></td>
						</tr>
						
					
					
					</table>
					<div style="margin-left: 120px;">
						<input type="submit" value="提交" id="Button1"
							class="btn btn-default" />
					</div>
				</form>
               <%}else{ %>
               
               <table class="grid" cellspacing="1" width="100%">
					
						<tr>
							<td height="26" colspan="2" align="left">你已完成实名</td>
							
						</tr>
						
						
						<tr>
							<td align="right">姓名:</td>
							<td>${requestScope.huiyuan.name}</td>
						</tr>
						
								
						
						<tr>
							<td align="right">身份证号:</td>
							<td>
							
							   ${requestScope.huiyuan.idcardno}
							</td>
						</tr>
						
					
					
					</table>
               
               <%} %>
			</div>
		</div>

	</div>



	<div class="fn-clear"></div>


	<jsp:include page="bottom.jsp"></jsp:include>



</body>
</html>